package com.kw.model.weixin.user.entry;

import java.util.HashMap;

import com.kw.model.weixin.entry.WeiXinCommand;

public class WeiXinCommands {
	private HashMap<String,WeiXinCommand> commands=null;
	
	public WeiXinCommands(){
		commands=new HashMap<String,WeiXinCommand>();
	}
	
	public void add(String commandString,WeiXinCommand command){
		commands.put(commandString, command);	
	}
	
	public WeiXinCommand getCommand(String commandString){
		return commands.get(commandString);
	}

}
